package com.ychs.dao;

import com.ychs.entity.Permission;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * copyright(c)2021 YYB.ALL rights Reserved
 * <p>
 * 描述:
 *
 * @author 原玉波
 * @version 1.0
 * @date 2021/5/30
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    /**
     * 返回满足条件的记录
     * @param conditions 查询条件
     * @return 多条记录
     */
    @Override
    @Select("select id,name,url,parent,menu from permission")
    List<Permission> select(Map<String, Object> conditions);
}
